package com.jemmyee.shop.entity;

// default package

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @Description:配送方式
 * @author:jemmyee@gmail.com
 * @date:2011-4-1
 * @version:v1.0
 */
@Entity
@Table(name = "so_shipping")
public class Shipping implements java.io.Serializable {

	// Fields

	private Integer id;
	private String code;
	private String name;
	private String desc;
	private String insure;
	private Short isSupportCod;
	private Short isEnable;
	private String print;
	private String printBg;
	private String configLable;
	private Short printModel;
	private Date addTime;

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "code", length = 20)
	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "name", length = 120)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "desc")
	public String getDesc() {
		return this.desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	@Column(name = "insure", length = 10)
	public String getInsure() {
		return this.insure;
	}

	public void setInsure(String insure) {
		this.insure = insure;
	}

	@Column(name = "is_support_cod")
	public Short getIsSupportCod() {
		return this.isSupportCod;
	}

	public void setIsSupportCod(Short isSupportCod) {
		this.isSupportCod = isSupportCod;
	}

	@Column(name = "is_enable")
	public Short getIsEnable() {
		return this.isEnable;
	}

	public void setIsEnable(Short isEnable) {
		this.isEnable = isEnable;
	}

	@Column(name = "print", length = 65535)
	public String getPrint() {
		return this.print;
	}

	public void setPrint(String print) {
		this.print = print;
	}

	@Column(name = "print_bg")
	public String getPrintBg() {
		return this.printBg;
	}

	public void setPrintBg(String printBg) {
		this.printBg = printBg;
	}

	@Column(name = "config_lable", length = 65535)
	public String getConfigLable() {
		return this.configLable;
	}

	public void setConfigLable(String configLable) {
		this.configLable = configLable;
	}

	@Column(name = "print_model")
	public Short getPrintModel() {
		return this.printModel;
	}

	public void setPrintModel(Short printModel) {
		this.printModel = printModel;
	}

	@Column(name = "add_time", length = 0)
	public Date getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

}